import {connect} from 'react-redux'
import {
    clearSearch
}from '../../store/actions/SearchAction'

const mapDispatchToProps=dispatch=>({
    // 定义组件调用方法
    getClearDataCmp(){
        return dispatch(clearSearch())
    }
})
export default connect(null,mapDispatchToProps)
